﻿package Message.Public
{
    import Engine.RMI.*;
    import Framework.Serialize.*;

    public class EVipRecordType extends Object
    {
        public var __value:int;
        public static const _EVipRecordTypeTotalGold:int = 0;
        public static const _EVipRecordTypeItemWelfare:int = 1;
        public static const _EVipRecordTypeExpress:int = 2;
        public static const _EVipRecordTypeHead:int = 3;
        public static const _EVipRecordTypeShop:int = 4;
        public static const _EVipRecordTypePass:int = 5;
        public static const _EVipRecordTypeWarehouse:int = 6;
        public static const _EVipRecordTypeBag:int = 7;
        public static const _EVipRecordTypeExper:int = 8;
        public static const _EVipRecordTypeDrugLife:int = 9;
        public static const _EVipRecordTypeZazen:int = 10;
        public static const _EVipRecordTypeAnger:int = 11;
        public static const _EVipRecordTypeRelive:int = 12;
        public static const _EVipRecordTypeEscortRefresh:int = 13;
        public static const _EVipRecordTypeTxtDesc:int = 14;
        public static const _EVipRecordTypeImgDesc:int = 15;
        public static const _EVipRecordType3DDesc:int = 16;
        public static const _EVipRecordTypePetBreak:int = 17;
        public static const _EVipRecordTypePostCheckIn:int = 18;
        public static const _EVipRecordTypeSunBathPerform:int = 19;
        public static const _EVipRecordTypeTowerScan:int = 20;
        public static const _EVipRecordTypeVipCopy:int = 21;
        public static const _EVipRecordTypeHonour:int = 22;
        public static const _EVipRecordTypeMountEffect:int = 23;
        public static const _EVipRecordTypeWingEffect:int = 24;
        public static const _EVipRecordTypeWeaponEffect:int = 25;
        public static const _EVipRecordTypeTreasureMapPass:int = 26;
        public static const _EVipRecordTypeEscort:int = 27;
        public static const _EVipRecordTypeTrumpet:int = 28;
        public static const _EVipRecordTypeBattlehonour:int = 29;
        public static const _EVipRecordTypeGuildWarExploit:int = 30;
        public static const _EVipRecordTypeArenaMoney:int = 31;
        public static const _EVipRecordTypeOfflineExp:int = 32;
        public static const _EVipRecordTypeResourceBack:int = 33;
        public static const _EVipRecordTypeClothesEffect:int = 34;
        public static const _EVipRecordTypePetEffect:int = 35;
        public static const _EVipRecordTypeGuildSkill:int = 36;
        public static const _EVipRecordTypeDailyGift:int = 37;
        public static const _EVipRecordTypeBeachExp:int = 38;
        public static const _EVipRecordTypeQuestionScore:int = 39;
        public static const _EVipRecordTypeQuestionExp:int = 40;
        public static const _EVipRecordTypeRaiderReward:int = 41;
        public static const _EVipRecordTypeWineExp:int = 42;
        public static const _EVipRecordTypeDrugMana:int = 43;
        public static const _EVipRecordTypeBeachVital:int = 44;
        public static const _EVipRecordTypeClientUse45:int = 45;
        public static const _EVipRecordTypeDayGiftPrice:int = 46;
        public static const _EVipRecordTypeLevelGiftPrice:int = 47;
        public static const _EVipRecordTypeCrossTrumpet:int = 48;
        public static const _EVipRecrodTypeLuckLottery:int = 49;
        public static const _EVipRecordTypeWorldBossSice:int = 50;
        public static const _EVipRecordTypeFuckDevilTower:int = 51;

        public function EVipRecordType(param1:int)
        {
            this.__value = param1;
            return;
        }// end function

        public function value() : int
        {
            return this.__value;
        }// end function

        public function __write(param1:SerializeStream) : void
        {
            param1.writeByte(this.__value);
            return;
        }// end function

        public static function convert(param1:int) : EVipRecordType
        {
            return new EVipRecordType(param1);
        }// end function

        public static function __read(param1:SerializeStream) : EVipRecordType
        {
            var _loc_2:* = param1.readByte();
            if (_loc_2 < 0 || _loc_2 >= 52)
            {
                throw new MarshalException();
            }
            return EVipRecordType.convert(_loc_2);
        }// end function

    }
}
